package com.bstek.sample.controller;

import com.bstek.bdf2.core.redis.BstekRedisCache;
import com.bstek.bdf2.core.redis.InfoBody;
import com.bstek.sample.domain.TbUser;
import com.bstek.sample.mapper.ITbUserMapper;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;


@RestController
@RequestMapping("/test")
public class Testontroller {




    @GetMapping("/hello")
    @ApiOperation("获取用户")
    public Object loadUsers(){
        return "hello.........";
    }







}
